package com.leixiaoqiao.dao;

import com.leixiaoqiao.pojo.Customer;

import java.util.HashMap;
import java.util.List;

public interface CustomerDao {
    void addCustomer(Customer customer);//增

    void deleteCustomerById(int id);//删

    void updateCustomer(Customer customer);//改
    //带条件的全部查询
    List<Customer> findList(HashMap<String, Object> queryMap);
    //单个查询
    Customer findCustomerById(int id);
}
